package com.chefu.system.service;

import com.chefu.common.pojo.PageResult;
import com.chefu.system.pojo.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chefu.system.pojo.Dept;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-30
 */
public interface DeptService extends IService<Dept> {

    PageResult<Dept> findByPage(Integer page, Integer pageSize, String deptNum, String deptName);

    void insertDept(Dept dept);

    Dept findByDeptId(Long id);

    void updateDept(Dept dept);

    List<Dept> findAll();

    void delete(Long id);
}
